module.exports = {
    outputDir: 'dist',   //build输出目录
    assetsDir: 'assets', //静态资源目录（js, css, img）
    lintOnSave: false, //是否开启eslint
    // publicPath: '/admin',
    devServer: {
        open: false, //是否自动弹出浏览器页面
        host: "localhost",
            port: '8083',
            proxy: {
            '/api': {
                target: 'http://localhost:8082',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                }
            },
            '/img': {
                target: 'http://localhost:8082',
                changeOrigin: true,
                pathRewrite: {
                    '^/img': '/img'
                }
            }
        },
    }
};
